<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/stack-overflow.js"></script>
<script>
test(() => {
  const rs = new ReadableStream();
  const response = new Response(rs);
  fillStackAndRun(() => response.bodyUsed)
}, 'stack overflow in bodyUsed should not crash the browser');
</script>
